package com.qqtech.qquan.mall.model;

import java.math.BigDecimal;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

@SuppressWarnings("serial")
public class MallCartVo extends MallCart{
	/** 商品名 */
	private java.lang.String name;
	/** 规格描述(颜色+其他规格) */
	private java.lang.String spec;
    /** 销售价格 */
	private BigDecimal price;
    /** 市场价格（原价） */
	private BigDecimal marketPrice;
    /** 商品图片 */
	private java.lang.String img;
	/** 索引 **/
	private Integer index;
	/** 供应商 */
	private MallSupplier supplier;
    private Integer supplierId;
    private Integer supplierType;
    private String supplierName;
    private String specName;
    private String color;
    private Integer stock;
   
    
	public Integer getStock() {
		return stock;
	}

	public void setStock(Integer stock) {
		this.stock = stock;
	}

	public String getSpecName() {
		return specName;
	}

	public void setSpecName(String specName) {
		this.specName = specName;
	}

	public String getColor() {
		return color;
	}

	public void setColor(String color) {
		this.color = color;
	}

	public MallSupplier getSupplier() {
		return supplier;
	}

	public void setSupplier(MallSupplier supplier) {
		this.supplier = supplier;
	}

	public Integer getSupplierId() {
		return supplierId;
	}

	public void setSupplierId(Integer supplierId) {
		this.supplierId = supplierId;
	}

	public Integer getSupplierType() {
		return supplierType;
	}

	public void setSupplierType(Integer supplierType) {
		this.supplierType = supplierType;
	}

	public String getSupplierName() {
		return supplierName;
	}

	public void setSupplierName(String supplierName) {
		this.supplierName = supplierName;
	}

	public Integer getIndex() {
		return index;
	}

	public void setIndex(Integer index) {
		this.index = index;
	}

	public java.lang.String getName() {
		return name;
	}

	public void setName(java.lang.String name) {
		this.name = name;
	}

	public BigDecimal getPrice() {
		return price;
	}

	public void setPrice(BigDecimal price) {
		this.price = price;
	}

	public BigDecimal getMarketPrice() {
		return marketPrice;
	}

	public void setMarketPrice(BigDecimal marketPrice) {
		this.marketPrice = marketPrice;
	}

	public java.lang.String getImg() {
		return img;
	}

	public void setImg(java.lang.String img) {
		this.img = img;
	}
	
	public java.lang.String getSpec() {
		return spec;
	}

	public void setSpec(java.lang.String spec) {
		this.spec = spec;
	}

	@Override
	public String toString() {
		return ToStringBuilder.reflectionToString(this,
				ToStringStyle.MULTI_LINE_STYLE);
	}
}